package com.xoms.admin.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;

/**
 * 增加/修改部门信息
 **/
public class EditDepartmentParam {
	private String did; // 部门id
	@NotEmpty(message = "部门名称不能为空")
	private String name; // 部门名称
	private String parentId; // 上级部门
	private String desc; // 部门描述
	private String isEnable; // 是否启用 1启用 0不启用

	public void setDid(String did) {
 		this.did = did;
	}

	public String getDid() {
 		return did;
	}

	public void setName(String name) {
 		this.name = name;
	}

	public String getName() {
 		return name;
	}

	public void setParentId(String parentId) {
 		this.parentId = parentId;
	}

	public String getParentId() {
 		return parentId;
	}

	public void setDesc(String desc) {
 		this.desc = desc;
	}

	public String getDesc() {
 		return desc;
	}

	public void setIsEnable(String isEnable) {
 		this.isEnable = isEnable;
	}

	public String getIsEnable() {
 		return isEnable;
	}

}
